#pragma once

#pragma managed

#include "IUnitController.h"

namespace BroodWar
{
	namespace Addon
	{
		ref class Base;
		ref class BaseManager;

		public interface class IWorkerManager : IUnitController
		{
			void OnFrame();
			void OnUnitComplete(Unit^ unit);
			
			void SetWorkersPerGas(int count);
			double GetMineralRate();
			double GetGasRate();
			int GetOptimalWorkerCount();
			int MineralWorkerCount();
			int GasWorkerCount();
			void EnableAutoBuild();
			void DisableAutoBuild();
			void SetAutoBuildPriority(int priority);
		};
	}
}
